package cn.lili.modules.goods.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.goods.client.GoodsStatisticsClient;
import cn.lili.modules.goods.entity.dto.GoodsNumSearchParams;
import org.springframework.stereotype.Component;

/**
 * @author paulG
 * @since 2022/6/28
 **/
public class GoodsStatisticsFallback implements GoodsStatisticsClient {

    @Override
    public long goodsNum(GoodsNumSearchParams searchParams) {
        throw new ServiceException();
    }

    @Override
    public long todayUpperNum() {
        throw new ServiceException();
    }

    @Override
    public long goodsNumByUrban(GoodsNumSearchParams searchParams) {
        throw new ServiceException();
    }
}
